package com.example.timmy.myapplication.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * @Auther: Timmy
 * @Data: 2017/9/5
 * @Fuction:
 */

public class MultipleItem implements MultiItemEntity {

    public static final int TYPE_CORRENT = 1;
    public static final int TYPE_ERROR = 2;
    private int itemType;

    private int count;

    public MultipleItem(int itemType, int count) {
        this.itemType = itemType;
        this.count = count;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
